cd "F:\Dropbox\School\Research Projects\Populism\Articles\Populist Psychology\Submission files\JOP 2020\Final\Replication files"

*Study 1
use "study 1 prepped.dta", clear

label define treatlab2 0 "Control" 1 "Econ. Anxiety" 2 "Econ. Anger" 3 "Populism" 4 "Cultural Discontent"
label values treat treatlab2

sem (ANT-> ant1@1 ant2 ant3) (PPL-> ppl1@1 ppl2 ppl3) (MAN->man1@1 man2 man3) (METHOD-> ant1@1 ant3@a ppl1@a ppl3@a man1@a man3@a), method(mlmv)
predict ant ppl man, latent(ANT PPL MAN)

*Study 2: see Table 5.inp and Table 5.out

*Study 3: see "Table A4.inp" and "Table A5.out"
